<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .c1{
            width: 200px;
            height: 200px;
        }
    </style>
</head>
<body>
{#<form action="/fm/" method="post">#}
{#    {% csrf_token %}#}
{#    <p><input type="text" placeholder="用户名" name="user"><span style="color: red">{{ obj.errors.user.0 }}</span></p>#}
{#    <p><input type="password" placeholder="密码" name="pwd"><span style="color: red">{{ obj.errors.pwd.0 }}</span></p>#}
{#    <p><input type="text" placeholder="邮箱" name="email"><span style="color: red">{{ obj.errors.email.0 }}</span></p>#}
{#    <input type="submit" value="提交">#}
{#</form>#}

<form action="/fm/" method="post">
    {% csrf_token %}
    <p>{{ obj.user }}<span style="color: red">{{ obj.errors.user.0 }}</span></p>
    <p>{{ obj.pwd }}<span style="color: red">{{ obj.errors.pwd.0 }}</span></p>
    <p>{{ obj.email }}<span style="color: red">{{ obj.errors.email.0 }}</span></p>
    <p>{{ obj.f }}{{ obj.errors.f.0 }}</p>
{#    <p>{{ obj.p }}{{ obj.errors.p.0 }}</p>#}
    {{ obj.city1 }}
    {{ obj.city2 }}
    {{ obj.uc }}
    <input type="submit" value="提交">
</form>
</body>
</html>